home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / FireMan.swf / scripts / frame_1055 / PlaceObject2_398_119 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Text File  |  2008-09-12  |  266b  |  12 lines

  1. onClipEvent(enterFrame){
  2.    _X = _X - heroe.scrollspeed;
  3.    _Y = _Y - _root.heroe.vscrollspeed;
  4.    if(this.hitTest(heroe.sprite.hotzone) && !u)
  5.    {
  6.       u = true;
  7.       _root.Posy = heroe._y;
  8.       _root.Posx = heroe._x;
  9.       _root.nextFrame();
  10.    }
  11. }
  12.